Convex set

Metadata
aliases: [Convex region]

A subset of Euclidean space or an affine space over is convex if given any two points in the subset, it contains the line segment joining the points.

Illustration

This is a convex set:

This is a non-convex set: